﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PwdMgr.DataAccess.Exps
{
    public abstract class Exp
    {
        public abstract ExpType Type { get; }

        public static BinaryExp Binary(Exp left,
            string op, Exp right)
        {
            return new BinaryExp(left, op, right);
        }

        public static ConstantsExp Constants(object value)
        {
            return new ConstantsExp(value);
        }
    }
}
